package com.huhu.scenes;

import org.andengine.entity.scene.background.Background;
import org.andengine.entity.text.Text;

import com.huhu.GameActivity;
import com.huhu.base.BaseScene;
import com.huhu.manager.SceneManager.SceneType;

public class LoadingScene extends BaseScene{

	@Override
	public void createScene() {
		setBackground(new Background(1, 1, 1));
		setBackgroundEnabled(true);
		final Text textLoading = new Text(0, 0, resourcesManager.font, "Loading ...", vbom);
		textLoading.setPosition(GameActivity.CAMERA_WIDTH/2 - textLoading.getWidth()/2, GameActivity.CAMERA_HEIGHT/2 - textLoading.getHeight()/2);
		
		attachChild(textLoading);
	}

	@Override
	public void onBackKeyPressed() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public SceneType getSceneType() {
		// TODO Auto-generated method stub
		return SceneType.LOADING;
	}

	@Override
	public void disposeScene() {
		// TODO Auto-generated method stub
		
	}

}
